<?php
namespace app\exception;
use think\Exception as ThinkException;


class MyException extends ThinkException {
    // 重写构造函数，用于设置错误信息等属性
    public function __construct($message = "", $code = 0) {

        parent::__construct($message, $code);
    }
}
?>